home *** CD-ROM | disk | FTP | other *** search
/ Computer Select (Limited Edition) / Computer Select.iso / pcc / v04n12 / batch2.exe / NUMBER.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-10-10  |  279 b   |  13 lines

  1. @ECHO OFF
  2. REM This is NUMBER.BAT
  3. IF %1!==! GOTO OOPS
  4. COPY %1 BACKUP! > NUL
  5. FIND /N /V "!@#$" %1 | FIND /V "----------" > %1
  6. ECHO File %1 now has line numbers
  7. GOTO END
  8. :OOPS
  9. ECHO Enter the name of the file 
  10. ECHO you want to add line numbers 
  11. ECHO to after the %0
  12. :END
  13.